<%-- 
    Document   : main
    Created on : 12-dec-2009, 0:15:27
    Author     : Thomas Roelens
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Add an administrator</title>
    </head>
    <body>
        <h1>Add an administrator</h1>
    <c:if test="${!empty flash}">
        <div class="flash">
            ${flash}
        </div>
    </c:if>
    <form method="post" action="${pageContext.request.contextPath}/secret/add">
        <table>
            <tr>
                <td>
                    Username :
                </td>
                <td>
                    <input id="username" name="username" type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    Password :
                </td>
                <td>
                    <input id="password" name="password" type="password" />
                </td>
            </tr>
        </table>
        <input type="submit" value="Create admin" />
    </form>
</body>
</html>
